package com.asia5b.a5bmall.resource;

import android.content.Context;

import androidx.annotation.ColorRes;
import androidx.core.content.ContextCompat;

/**
 * Created by zhangyuncai on 2020/4/23.
 */
public class ResColor {
    public static Context context;

    public static int getColor(@ColorRes int color) {
        return ContextCompat.getColor(context, color);
    }

    public static int getBlue() {
        return ContextCompat.getColor(context, R.color.common_bg_blue);
    }
}
